package com.example.stock.service;

import com.example.stock.entity.Stock;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 股票 服务类
 * </p>
 *
 * @author tanlvxu
 * @since 2024-12-18
 */
public interface IStockService extends IService<Stock> {

    List<Stock> listByCalcTimeAndCalcType(String date, int i);

    Stock getByCodeAndCalcTimeAndCalcType(String code, String nextGzr, int i);

    List<Stock> calcYangDingTian(String day1,String day2,String day3);

    List<Stock> maxStock(String code,String day1,String day2);

    List<Stock> calcStock(String day1,String day2,String day3);
}
